package com.ctshk.rpc.airexpress.mapper;

import com.ctshk.rpc.airexpress.base.CustomBaseMapper;
import com.ctshk.rpc.airexpress.entity.AirportExpressInitializationSettings;
import com.ctshk.rpc.airexpress.entity.AirportExpressInitializationSettingsChannel;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 机场快线api初始化渠道表 Mapper 接口
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-18
 */
public interface AirportExpressInitializationSettingsChannelMapper extends CustomBaseMapper<AirportExpressInitializationSettingsChannel> {
    @Delete("delete from t_airport_express_initialization_settings_channel")
    int deleteAll();

    @Select("select id, channel_type, channel_id, channel_name from t_airport_express_initialization_settings_channel")
    AirportExpressInitializationSettingsChannel selectListAll();
}
